/* main.c - Application main entry point */

/*
 * Copyright (c) 2022 Xiaomi Corporation
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr/types.h>
#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <sys/printk.h>
#include <sys/reboot.h>
#include <sys/byteorder.h>
#include <zephyr.h>

#include "mible_api.h"

mible_status_t mible_nvm_read(void * p_data, uint32_t length, uint32_t address)
{
	(void)memcpy(p_data, (void*)address, length);

	return MI_SUCCESS;
}
